Aaron Schulz [Sun, 25 Jan 2009 02:02:21 +0000 (02:02 +0000)]
Revert r46180 and use newFromRow to get page_is_redirect loaded correctly
Aaron Schulz [Sun, 25 Jan 2009 01:43:13 +0000 (01:43 +0000)]
Check $row->page_is_redirect directly
Aaron Schulz [Sun, 25 Jan 2009 01:37:06 +0000 (01:37 +0000)]
Improve article ID process cache hit rate
Aryeh Gregor [Sun, 25 Jan 2009 01:31:48 +0000 (01:31 +0000)]
More helpful error message if PHP_SELF isn't set
Raw page access was failing in some server configurations with CGI (or
in my case, FastCGI). This gives a nicer and more correct error
message. Possibly better solutions:
1) Figure out how to do this without PHP_SELF.
2) Give a warning or error on installation, or even on every page view,
since this will break all raw page viewing.
I ran into this when doing a file copy of my wiki install to another
site, FWIW. Even with the new error message, I'd have had to look at
the CSS files to figure out what the problem was (the user-visible
symptom was that custom styles didn't work).
Aaron Schulz [Sun, 25 Jan 2009 01:22:58 +0000 (01:22 +0000)]
(bug 3301) Optionally sort user list according to account creation time
Aaron Schulz [Sun, 25 Jan 2009 00:33:25 +0000 (00:33 +0000)]
* redirect=no and mw-redirect classes to redirect pages (bug 17106)
* Don't show rollback links on new pages
Danny B [Sun, 25 Jan 2009 00:19:01 +0000 (00:19 +0000)]
* fixing regression from r42769 (component ordering & empty line)
Aaron Schulz [Sat, 24 Jan 2009 22:50:28 +0000 (22:50 +0000)]
(bug 17104) Remove [Mark as patrolled] link for already patrolled revisions
Siebrand Mazeland [Sat, 24 Jan 2009 21:51:19 +0000 (21:51 +0000)]
(bug 17151) Add magic word alias for #redirect
Siebrand Mazeland [Sat, 24 Jan 2009 21:02:14 +0000 (21:02 +0000)]
Localisation updates for core messages from Betawiki (2009-01-24 20:48 UTC)
Aaron Schulz [Sat, 24 Jan 2009 18:37:52 +0000 (18:37 +0000)]
Avoid slave lag on $title->getLatestRevID()
Aaron Schulz [Sat, 24 Jan 2009 18:35:13 +0000 (18:35 +0000)]
Hurry up and commit db op before doing mailing op to the users to notify
Siebrand Mazeland [Sat, 24 Jan 2009 17:57:28 +0000 (17:57 +0000)]
Fix typo in 'restriction-level-sysop'
Siebrand Mazeland [Sat, 24 Jan 2009 17:56:34 +0000 (17:56 +0000)]
Recommit r45154 after revert in r45249 and discussion lists.wikimedia.org/pipermail/wikitech-l/2008-December/thread.html#40797
* sysop/admin -> administrator for consistency
Aaron Schulz [Sat, 24 Jan 2009 17:49:29 +0000 (17:49 +0000)]
Only show css/js links for selected skin
Alexandre Emsenhuber [Sat, 24 Jan 2009 17:42:12 +0000 (17:42 +0000)]
* Removed false comment, we are in a Category page, not an Image page
* Use wfMsgExt( 'msg', array( 'escape' ), ... ) rather than htmlspecialchars( wfMsg( ... ) )
* Whitespaces tweaks
Shinjiman [Sat, 24 Jan 2009 16:26:38 +0000 (16:26 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Niklas Laxström [Sat, 24 Jan 2009 16:26:11 +0000 (16:26 +0000)]
* Encoding
Alexandre Emsenhuber [Sat, 24 Jan 2009 16:26:05 +0000 (16:26 +0000)]
Tweaks for the "Whole HTML Validation" feature:
* Allow to use external tidy
* Accept application/xhtml+xml mime type
* Fix XHTML errors on errors reports :)
Rotem Liss [Sat, 24 Jan 2009 15:16:14 +0000 (15:16 +0000)]
Localization update for he.
Roan Kattouw [Sat, 24 Jan 2009 13:16:24 +0000 (13:16 +0000)]
API: (bug 17024) Added legaltitlechars field to meta=siteinfo&siprop=general output, which contains the value of $wgLegalTitleChars
Roan Kattouw [Sat, 24 Jan 2009 13:10:30 +0000 (13:10 +0000)]
Explain why this code doesn't use LinkBatch.
Roan Kattouw [Sat, 24 Jan 2009 13:00:43 +0000 (13:00 +0000)]
API: (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses. Building query properly now using makeList()
Siebrand Mazeland [Sat, 24 Jan 2009 10:59:46 +0000 (10:59 +0000)]
Update RELEASE-NOTES for r46125
Siebrand Mazeland [Sat, 24 Jan 2009 10:02:10 +0000 (10:02 +0000)]
Re-add MessagesFiu_vro.php with fallback to 'vro'
Siebrand Mazeland [Sat, 24 Jan 2009 09:59:37 +0000 (09:59 +0000)]
Rename 'fiu-vro' locale to 'vro' as it got an ISO 639-3 code recently (sil.org/iso639-3/documentation.asp?id=vro)
Siebrand Mazeland [Sat, 24 Jan 2009 09:53:47 +0000 (09:53 +0000)]
Fix typo in credits
Raimond Spekking [Sat, 24 Jan 2009 07:53:45 +0000 (07:53 +0000)]
* Follow up r46117: Add new messages
** fixes bug 2314 - add to RELEASE NOTES
Aaron Schulz [Sat, 24 Jan 2009 06:01:59 +0000 (06:01 +0000)]
(bug 14423) Check flag validity for logging
Aaron Schulz [Sat, 24 Jan 2009 05:37:43 +0000 (05:37 +0000)]
code style tweaks
Aaron Schulz [Sat, 24 Jan 2009 05:28:31 +0000 (05:28 +0000)]
Add link to css/js subpage in preferences
Roan Kattouw [Fri, 23 Jan 2009 20:39:54 +0000 (20:39 +0000)]
Remove stray semicolon
Roan Kattouw [Fri, 23 Jan 2009 20:23:34 +0000 (20:23 +0000)]
API: Fix profiling errors caused by calling wfProfileClose() from dieUsage()
Alexandre Emsenhuber [Fri, 23 Jan 2009 20:13:39 +0000 (20:13 +0000)]
* Fix E_STRICT
* Fix doxygen warnings
Roan Kattouw [Fri, 23 Jan 2009 20:08:00 +0000 (20:08 +0000)]
API: ApiBase::dieUsage() is not a static function, fix static calls
Aryeh Gregor [Fri, 23 Jan 2009 18:03:12 +0000 (18:03 +0000)]
Allow exempting domain names from rel="nofollow"
This introduces a new configuration option, $wgNoFollowDomainExceptions.
By default this is an empty array; perhaps it should be null by default
and initialize to something extracted from $wgServer. An appropriate
value for Wikimedia would be something like:
$wgNoFollowDomainExceptions = array( 'wikipedia.org', 'wiktionary.org',
'wikibooks.org', ... );
It's fairly silly that we're nofollowing links to our own sites. :)
Aryeh Gregor [Fri, 23 Jan 2009 18:03:02 +0000 (18:03 +0000)]
Remove unused code
Aryeh Gregor [Fri, 23 Jan 2009 18:02:48 +0000 (18:02 +0000)]
Break off wfParseUrl() from wfMakeUrlIndex()
Should be no functional changes.
Siebrand Mazeland [Fri, 23 Jan 2009 18:00:11 +0000 (18:00 +0000)]
Localisation updates for core messages from Betawiki (2009-01-23 17:19 UTC)
Shinjiman [Fri, 23 Jan 2009 15:10:32 +0000 (15:10 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Philip Tzou [Fri, 23 Jan 2009 09:32:41 +0000 (09:32 +0000)]
Find variant link of categories, to fix some strange bugs in Chinese Wikipedia.
Rotem Liss [Fri, 23 Jan 2009 08:53:41 +0000 (08:53 +0000)]
Localization:
* Moving language-link-title to the bottom of the localization files, since it is not really the sidebar, and since the comment above the message 'sidebar' is not relevant for the other languages.
* Update for he.
Philip Tzou [Fri, 23 Jan 2009 07:56:04 +0000 (07:56 +0000)]
Enable language conversion
in "alt" and "title" attributes.
Raimond Spekking [Fri, 23 Jan 2009 07:36:06 +0000 (07:36 +0000)]
* Follow up r46059: Add new message
* Move new message to the 'sidebar' section
Danny B [Fri, 23 Jan 2009 04:29:40 +0000 (04:29 +0000)]
* + xml:lang
Danny B [Fri, 23 Jan 2009 03:51:14 +0000 (03:51 +0000)]
* re: r46058 & r46060 (bug 3043)
Danny B [Fri, 23 Jan 2009 03:39:11 +0000 (03:39 +0000)]
* (bug 3043) - RSS feed link should have silly orange icon
** improved r46058, now works in all skins
Andrew Garrett [Fri, 23 Jan 2009 02:11:20 +0000 (02:11 +0000)]
(bug 1433) Add meta-information to pages with language links.
Danny B [Fri, 23 Jan 2009 02:09:48 +0000 (02:09 +0000)]
* (bug 3043) - RSS feed link should have silly orange icon
** Monobook & Modern skins implementation
Danny B [Thu, 22 Jan 2009 23:31:31 +0000 (23:31 +0000)]
* Added optional alternative Search form look - Go button & Advanced search link instead of Go button & Search button
Siebrand Mazeland [Thu, 22 Jan 2009 14:54:07 +0000 (14:54 +0000)]
Localisation updates for core from Betawiki
Philip Tzou [Thu, 22 Jan 2009 14:31:01 +0000 (14:31 +0000)]
Enable LanguageConverter on Category Pages.
Raimond Spekking [Thu, 22 Jan 2009 12:57:09 +0000 (12:57 +0000)]
* Wrap 'cascadeprotectedwarning'/'titleprotectedwarning' messages into a div with own classes
Alexandre Emsenhuber [Thu, 22 Jan 2009 11:49:32 +0000 (11:49 +0000)]
Per Raymond's comment on r45988: fixed "Fatal error: Unsupported operand types in includes/Pager.php on line 318"
Aaron Schulz [Thu, 22 Jan 2009 07:34:18 +0000 (07:34 +0000)]
Fix filelist link
Brion Vibber [Thu, 22 Jan 2009 00:15:16 +0000 (00:15 +0000)]
Fix ordering of OpenDocument type detection so template files can actually be uploaded.
Previously, the shorter types like 'text' matched before the longer ones like 'text-template', causing an .ott file to be misdetected as an .odt... and thus rejected for being the wrong type.
Aryeh Gregor [Thu, 22 Jan 2009 00:11:23 +0000 (00:11 +0000)]
Use HTML5 rel attributes for some links
http://dev.w3.org/html5/spec/#linkTypes
Probably doesn't do much, but looks cool. :)
Shinjiman [Wed, 21 Jan 2009 23:12:59 +0000 (23:12 +0000)]
Removing Old Chinese and Late Time Chinese, unused.
Per siebrand's comment.
Shinjiman [Wed, 21 Jan 2009 23:08:52 +0000 (23:08 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Siebrand Mazeland [Wed, 21 Jan 2009 21:26:17 +0000 (21:26 +0000)]
Localisation updates for core messages from Betawiki (2009-01-21 21:16 UTC)
Aaron Schulz [Wed, 21 Jan 2009 20:47:59 +0000 (20:47 +0000)]
Show title/rev in IRC (bug 16604)
Ryan Schmidt [Wed, 21 Jan 2009 20:42:32 +0000 (20:42 +0000)]
Redirect-related bugfixes/features:
* (bug 11644) Add $wgMaxRedirects variable to control how many redirects are recursed through until the "destination" page is reached.
** update redirect page UI to show each step down to the destination page
** rdfrom text still links to original page visited
** pages still show up in DoubleRedirects
** setting to 1 (default) is current behavior of only going 1 step down. Setting to 0 disables automatic redirects.
** arrow image needs to be smoothed, couldn't figure out how to do it myself while keeping the image in indexed mode
* (bug 10569) Redirects to Special:Mypage and Special:Mytalk are no longer allowed to prevent redirect loops
** can be re-enabled by changing the $wgInvalidRedirectTargets array
Rotem Liss [Wed, 21 Jan 2009 16:07:26 +0000 (16:07 +0000)]
Localization update.
Aaron Schulz [Wed, 21 Jan 2009 15:50:13 +0000 (15:50 +0000)]
XHTML
Raimond Spekking [Wed, 21 Jan 2009 15:49:59 +0000 (15:49 +0000)]
Follow up r45963: Add new message
Aaron Schulz [Wed, 21 Jan 2009 15:46:48 +0000 (15:46 +0000)]
(bug 15811) Re-upload form tweaks
* Don't show license dropdown
* Use different message for summary box label
* Don't show "file exists" message
* Lock the destination name
Shinjiman [Wed, 21 Jan 2009 15:13:12 +0000 (15:13 +0000)]
Follow up of r45960, adding English comment in Names.php
Aaron Schulz [Wed, 21 Jan 2009 15:08:22 +0000 (15:08 +0000)]
Fix typo in r45863; argument in wrong place
Shinjiman [Wed, 21 Jan 2009 15:04:46 +0000 (15:04 +0000)]
* Adding Literary Chinese (lzh) language.
* Adding Old Chinese (och) language redirect to lzh.
* Adding Late Time Chinese (ltc) language redirect to lzh.
* Redirect Classical Chinese (zh-classical) to Literary Chinese.
Roan Kattouw [Wed, 21 Jan 2009 09:26:48 +0000 (09:26 +0000)]
Fix up r45749: do is_string() check in the caller instead
Roan Kattouw [Wed, 21 Jan 2009 09:22:48 +0000 (09:22 +0000)]
Followup to r45954: it helps to save before committing
Roan Kattouw [Wed, 21 Jan 2009 09:21:58 +0000 (09:21 +0000)]
Fix indentation for r45944 and use consistent code style
Raimond Spekking [Wed, 21 Jan 2009 08:02:30 +0000 (08:02 +0000)]
Follow up r45698 and r45857: Add new options to $wgDefaultUserOptions
Raimond Spekking [Wed, 21 Jan 2009 07:52:56 +0000 (07:52 +0000)]
* Add some forgotten release notes
* break lines after 80 chars
Alex Z [Wed, 21 Jan 2009 03:50:08 +0000 (03:50 +0000)]
Fix for r45862, handle indefinite blocks correctly (and use a less anglo-centric timestamp format)
Chad Horohoe [Tue, 20 Jan 2009 23:58:18 +0000 (23:58 +0000)]
Code style tweak.
Alex Z [Tue, 20 Jan 2009 23:37:39 +0000 (23:37 +0000)]
Make API action=delete respect $wgDeleteRevisionsLimit
Aaron Schulz [Tue, 20 Jan 2009 23:04:56 +0000 (23:04 +0000)]
Revert r45490 per mediawiki.org/wiki/Special:Code/MediaWiki/45490
Brion Vibber [Tue, 20 Jan 2009 22:57:05 +0000 (22:57 +0000)]
Revert r45810 "API: (bug 17027) Allow all configuration variables in $wgAPIReadableConfigVars to be read through meta=siteinfo&siprop=configvars. I tried my best to only make useful stuff readable and skip stuff that's sensitive (like $wgDBpassword), available already (like $wgExtraNamespaces) or useless (like $wgUpdateRowsPerJob)."
This is way too tightly coupled to internal implementation details. Any and all of those things could change dramatically; they're not appropriate for an external API.
Aaron Schulz [Tue, 20 Jan 2009 22:55:20 +0000 (22:55 +0000)]
Follow up to r45780: catch Talk:interwiki:x links
Brion Vibber [Tue, 20 Jan 2009 22:32:25 +0000 (22:32 +0000)]
Revert r45788 "Page moves should not be minor edits"
Would prefer to see some discussion first; it's not obvious whether the change is needed/wanted.
Brion Vibber [Tue, 20 Jan 2009 21:52:02 +0000 (21:52 +0000)]
Follow-up to r45761 "* Convert prefsubmit div into a table to fix tab indexing"
Checking contlang RTL so we can left-align when necessary.
Roan Kattouw [Tue, 20 Jan 2009 13:50:11 +0000 (13:50 +0000)]
Fix typo
Shinjiman [Tue, 20 Jan 2009 13:38:39 +0000 (13:38 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Roan Kattouw [Tue, 20 Jan 2009 13:13:55 +0000 (13:13 +0000)]
Fix up r45897: indexInfo() returns an array of objects rather than an object
Aaron Schulz [Tue, 20 Jan 2009 04:01:59 +0000 (04:01 +0000)]
* Added rollback links to changes lists (bug 9305)
* Remove commend code duplication
Alex Z [Tue, 20 Jan 2009 00:16:35 +0000 (00:16 +0000)]
Follow-up to r45883: "(bug 17055) Use a CSS class ('mw-revdelundel-link') for RevisionDelete "(show/hide)" links rather than hardcoded <tt><small>, reduce some code duplication by creating Linker::revDeleteLink() to make the links."
Change a couple instances I missed the first time
Aaron Schulz [Mon, 19 Jan 2009 23:43:54 +0000 (23:43 +0000)]
Follow up to r45915: disable profiler.php (not the udp versions and such) for maintenance scripts
Aaron Schulz [Mon, 19 Jan 2009 23:34:13 +0000 (23:34 +0000)]
Check $wgProfiling. This lets long running scripts disable profiling to avoid OOM errors due to the growing work stack size.
Siebrand Mazeland [Mon, 19 Jan 2009 21:58:58 +0000 (21:58 +0000)]
Localisation updates for core messages from Betawiki (2009-01-19 21:53 UTC)
* removed duplicate 'tog-newpageshidepatrolled' from zh-hans
Aaron Schulz [Mon, 19 Jan 2009 20:46:31 +0000 (20:46 +0000)]
Add commit statements after each block
Aaron Schulz [Mon, 19 Jan 2009 19:55:38 +0000 (19:55 +0000)]
Add command use blurb
Jack Phoenix [Mon, 19 Jan 2009 18:55:14 +0000 (18:55 +0000)]
tweak UserMailer.php documentation. $replyto must be a MailAddress object and not a string or otherwise you'll get fatal errors like this: Fatal error: Call to a member function toString() on a non-object in ../includes/UserMailer.php on line 142
Alexandre Emsenhuber [Mon, 19 Jan 2009 16:09:06 +0000 (16:09 +0000)]
Don't use the 'noarticletext' message for pages in the MediaWiki namespace, it hides the default message
Roan Kattouw [Mon, 19 Jan 2009 16:04:33 +0000 (16:04 +0000)]
API: (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
Jack Phoenix [Mon, 19 Jan 2009 15:35:15 +0000 (15:35 +0000)]
adding a new hook from wikia codebase into SpecialWantedpages.php to allow extensions to alter the SQL query
Roan Kattouw [Mon, 19 Jan 2009 15:33:22 +0000 (15:33 +0000)]
Recommit r45821: (bug 16645) Making the pl_namespace, tl_namespace and il_to indices UNIQUE, just like their differently-ordered counterparts. This helps MySQL optimize stuff (see bug)
Roan Kattouw [Mon, 19 Jan 2009 15:23:12 +0000 (15:23 +0000)]
API: (bug 17048) Show the 'new' flag in list=usercontribs for the revision that created the page, even if it's not the top revision
Roan Kattouw [Mon, 19 Jan 2009 14:12:59 +0000 (14:12 +0000)]
Partial redo of r45819:
* rename non-PRIMARY indices that were implicitly named before r45764 back to their implicit names
* add the renamed un_user_id and un_user_ip to the indexName() rewrite
* use consistent casing for PRIMARY KEY
Roan Kattouw [Mon, 19 Jan 2009 13:56:08 +0000 (13:56 +0000)]
Revert r45821, r45830, r45831 and r45835 all in order to revert r45819, per discussions on CR. Will redo part of r45819 momentarily.